package ynu.lcy.elememicroserviceserviceclient.service;

import ynu.lcy.entity.Food;

import java.util.List;

/**
 * 商品服务
 * @author 梁超映
 * */
@Deprecated
public interface FoodService {

    /**
     * 根据商家id获取商品
     * @param id
     * @return
     * */
    public List<Food> getByBusinessId(Long id);

    /**
     * 商品汇总
     * */
    public List<Food> getAll();

}
